export const PageItem = {
  title: '人口学信息',
  commUrl: '/health_records/demographic/demographicInfo',
}

export const demographicFields = {
  name: { show: true, label: '姓名', edit: true, type: 'text', readonly: true, required: true },
  sex: { show: true, label: '性别', edit: true, type: 'picker', dictCode: 'sex' },
  birthdate: { show: true, label: '出生日期', edit: true, type: 'date', required: true },
  idType: { show: true, label: '证件类型', edit: true, type: 'picker', dictCode: 'id_type' },
  idNumber: { show: true, label: '证件号码', edit: true, type: 'text', readonly: true, required: true },
  tel: { show: true, label: '电话', edit: true, type: 'text' },
  livePlace: { show: true, label: '常住地址', edit: true, type: 'textarea' },
  liveType: { show: true, label: '常住类型', edit: true, type: 'picker', dictCode: 'live_type' },
  birthPlace: { show: true, label: '出生地', edit: true, type: 'text' },
  nativePlace: { show: true, label: '籍贯', edit: true, type: 'text' },
  nationality: { show: true, label: '民族', edit: true, type: 'picker', dictCode: 'nationality' },
  citizen: { show: true, label: '国籍', edit: true, type: 'text' },
  marriType: { show: true, label: '婚姻状况', edit: true, type: 'picker', dictCode: 'marri_type' },
  eduType: { show: true, label: '文化程度', edit: true, type: 'picker', dictCode: 'edu_type' },
  jobType: { show: true, label: '职业', edit: true, type: 'picker', dictCode: 'job_type' },
  workPlace: { show: true, label: '工作单位/学校', edit: true, type: 'text' },
  height: { show: true, label: '身高', edit: true, type: 'text' },
  weight: { show: true, label: '体重', edit: true, type: 'text' },
  bloodType: { show: true, label: '血型', edit: true, type: 'picker', dictCode: 'blood_type' },
  biosi: { show: true, label: '生物特征', edit: true, type: 'text' },
  langType: { show: true, label: '语言', edit: true, type: 'text' },
  religiousBeli: { show: true, label: '宗教信仰', edit: true, type: 'text' },
  familyDoctor: { show: true, label: '是否有家庭签约医生', edit: true, type: 'picker', dictCode: 'yes_no' },
  payType: { show: true, label: '医疗费用支付方式', edit: true, type: 'text' },
  payTypeOther: { show: true, label: '其他医疗费用支付方式', edit: true, type: 'text' },
  orgName: { show: true, label: '档案管理机构名称', edit: true, type: 'text' },
  orgTel: { show: true, label: '档案管理机构电话', edit: true, type: 'text' },
  note: { show: true, label: '备注', edit: true, type: 'textarea' },
  recordid: { show: true, label: '健康档案ID', edit: true, readonly: true, type: 'number' },
  createTime: { show: true, label: '创建时间', edit: false, type: 'date' },
  createBy: { show: true, label: '创建人', edit: false, type: 'text' },
  updateTime: { show: true, label: '修改时间', edit: false, type: 'date' },
  updateBy: { show: true, label: '修改人', edit: false, type: 'text' },
  id: { show: false, label: '主键ID', edit: false, type: 'text' }
}
